package com.yanqu.road.entity.enums.washe;

public enum eWasheShapeType {

    ZhiXian5("直线5个",
            eWasheBlockType.LiuXing,
            new int[][]{
                    {1, 1, 1, 1, 1},
            }),

    ZhiXianL("直线L形",
            eWasheBlockType.DiLei,
            new int[][]{
                    {1, 0, 0},
                    {1, 0, 0},
                    {1, 1, 1},
            }),

    ZhiXianT("直线T形",
            eWasheBlockType.DiLei,
            new int[][]{
                    {1, 1, 1},
                    {0, 1, 0},
                    {0, 1, 0},
            }),
    ZhiXianShiZi("直线十字",
            eWasheBlockType.DiLei,
            new int[][]{
                    {0, 1, 0},
                    {1, 1, 1},
                    {0, 1, 0},
            }),

    ZhiXian4("直线4个",
            null,
            new int[][]{
                    {1, 1, 1, 1},
            }),

    ;

    private String desc;
    private eWasheBlockType appointBombType; // 指定这种形状生成的炸弹类型，不指定时为null
    private int[][] value;

    eWasheShapeType(String desc, eWasheBlockType appointBombType, int[][] value) {
        this.desc = desc;
        this.appointBombType = appointBombType;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int[][] getValue() {
        return value;
    }

    public void setValue(int[][] value) {
        this.value = value;
    }

    public eWasheBlockType getAppointBombType() {
        return appointBombType;
    }

    public void setAppointBombType(eWasheBlockType appointBombType) {
        this.appointBombType = appointBombType;
    }
}
